<?php
include 'Mem.php';

$m = new Mem();
$servers = [
    ['127.0.0.1', 11211]
];
$m->addServer($servers);
// set
$m->s('okey', 'ovalue', 600);
// get
echo $m->s('okey');
// delete
$m->s('okey', NULL);

echo "<br>\n";

echo $m->s('okey'); // 没任何输出
echo $m->getError();    // NOT FOUND
